package com.example.logistics_oa.service.impl;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.comment_oa.pojos.xinzi.ShsalaryZhubiao;
import com.example.comment_oa.pojos_vo.salaryVo.SalaryZhuBiaoVo;
import com.example.logistics_oa.mapper.ShsalaryZhubiaoMapper;
import com.example.logistics_oa.service.ShsalaryZhubiaoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 安徽彭于晏
* @description 针对表【shsalary_zhubiao】的数据库操作Service实现
* @createDate 2023-01-29 16:53:50
*/
@Service
public class ShsalaryZhubiaoServiceImpl extends ServiceImpl<ShsalaryZhubiaoMapper, ShsalaryZhubiao>
    implements ShsalaryZhubiaoService {

    @Autowired
    ShsalaryZhubiaoMapper shsalaryZhubiaoMapper;

    @Override
    public List<ShsalaryZhubiao> selectId(String srid) {
        List<ShsalaryZhubiao> shsalaryZhubiaos = shsalaryZhubiaoMapper.selectId(srid);
        return shsalaryZhubiaos;
    }

    @Override
    public int insertAll(ShsalaryZhubiao shsalaryZhubiao) {
        return shsalaryZhubiaoMapper.insertAll(shsalaryZhubiao);
    }

    @Override
    public List<ShsalaryZhubiao> selectall(SalaryZhuBiaoVo salaryZhuBiaoVo) {
        return shsalaryZhubiaoMapper.selectall(salaryZhuBiaoVo);
    }

    @Override
    public int updatezhubiaoStatus(String srId) {
        return shsalaryZhubiaoMapper.updatezhubiaoStatus(srId);
    }

    @Override
    public List<ShsalaryZhubiao> selectDiYiTiao() {
        return shsalaryZhubiaoMapper.selectDiYiTiao();
    }


}




